package top.letscode.adclicker.proxy;

import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Method;

import top.letscode.adclicker.ad.AbstractUnion;

public class UnionProxy implements InvocationHandler {

  private AbstractUnion target;

  public UnionProxy(AbstractUnion union) {
    this.target = union;
  }

  @Override
  public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
    // TODO 增加其他的一些拦截
    return method.invoke(target, args);
  }

}
